package com.example.hms.dao;

import com.example.hms.entity.LiveRecords;
import com.example.hms.entity.ReserveRecords;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ReserveRecordsDao {
    List<ReserveRecords> selectAllReserveRecords(@Param("customerName") String customerName,
                                                 @Param("roomNumber") String roomNumber,
                                                 @Param("identificationCard") String identificationCard);
    int insert(ReserveRecords reserveRecords);
    int update(ReserveRecords reserveRecords);
}
